tmem: save/restore/migrate/livemigrate and shared pool authentication
authorKeir Fraser <keir.fraser@citrix.com>
Thu, 6 Aug 2009 08:19:55 +0000 (09:19 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Thu, 6 Aug 2009 08:19:55 +0000 (09:19 +0100)
commit734a7f6677f43502a2550ab89bf13439ab56c611
treeeb407ee7afa14e46f0e279e32f4cbc0b495480ee
parent70fc2398f035f16a1e6e6fc99af73e4d539a40c2
tmem: save/restore/migrate/livemigrate and shared pool authentication

Attached patch implements save/restore/migration/livemigration
for transcendent memory ("tmem").  Without this patch, domains
using tmem may in some cases lose data when doing save/restore
or migrate/livemigrate.  Also included in this patch is
support for a new (privileged) hypercall for authorizing
domains to share pools; this provides the foundation to
accomodate upstream linux requests for security for shared
pools.

Signed-off-by: Dan Magenheimer <dan.magenheimer@oracle.com>
14 files changed:
tools/libxc/xc_domain_restore.c
tools/libxc/xc_domain_save.c
tools/libxc/xc_tmem.c
tools/libxc/xenctrl.h
tools/python/xen/lowlevel/xc/xc.c
tools/python/xen/xend/XendAPI.py
tools/python/xen/xend/XendNode.py
tools/python/xen/xend/balloon.py
tools/python/xen/xend/server/XMLRPCServer.py
tools/python/xen/xm/main.py
xen/common/tmem.c
xen/common/tmem_xen.c
xen/include/public/tmem.h
xen/include/xen/tmem_xen.h